import sys
import pathlib
import fileinput


fiename = sys.argv[1]

for line in fileinput.input(fiename):
  pathlib.Path(line.strip('\n')  ).mkdir(parents=True, exist_ok=True)



